import React from 'react';
import Select from './Select';
import PythonControlledCapability from './PythonControlledCapability';

/**
 * NetPyNESelectField Component
 * A Python-controlled Select that syncs with Python backend and can fetch data from Python
 * This uses createPythonControlledControlWithPythonDataFetch to enable dynamic data fetching
 */
const NetPyNESelectField = PythonControlledCapability.createPythonControlledControlWithPythonDataFetch<
  React.ComponentProps<typeof Select>
>(Select);

export default NetPyNESelectField;

